package com.zg.message.domain.req;

import com.zg.common.core.req.AddReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/5/22 15:05
 */

@Data
@ApiModel
@NoArgsConstructor
public class MsgTemplateAddReq extends AddReq {

    @ApiModelProperty(value = "模板名称", required = true)
    @NotEmpty(message = "模板名称不能为空")
    private String title;           // 模板名称

    @ApiModelProperty(value = "模板内容", required = true)
    @NotEmpty(message = "模板内容不能为空")
    private String content;         // 模板内容

    @ApiModelProperty(value = "模板类型", required = true)
    @NotEmpty(message = "模板类型不能为空")
    private String type;            // 类型

    @ApiModelProperty(value = "模板备注")
    private String memo;            // 备注
}
